aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_post[Content warning-private].yaml')
-rw-r--r--tests/cassettes/test_status_post[Content warning-private].yaml40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/cassettes/test_status_post[Content warning-private].yaml b/tests/cassettes/test_status_post[Content warning-private].yaml
index 773b5a8..97705f4 100644
--- a/tests/cassettes/test_status_post[Content warning-private].yaml
+++ b/tests/cassettes/test_status_post[Content warning-private].yaml
@@ -20,18 +20,18 @@ interactions:
20 uri: http://localhost:3000/api/v1/statuses 20 uri: http://localhost:3000/api/v1/statuses
21 response: 21 response:
22 body: 22 body:
23 string: '{"id":"109367698397121351","created_at":"2022-11-19T00:44:00.094Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 23 string: '{"id":"109383671624990776","created_at":"2022-11-21T20:26:12.208Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
24 warning","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109367698397121351","url":"http://localhost:3000/@mastodonpy_test/109367698397121351","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py 24 warning","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383671624990776","url":"http://localhost:3000/@mastodonpy_test/109383671624990776","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
25 test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 25 test suite","website":null},"account":{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
26 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI 26 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI
27 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","header":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","followers_count":0,"following_count":0,"statuses_count":7,"last_status_at":"2022-11-19","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' 27 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","header":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","followers_count":0,"following_count":0,"statuses_count":10,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
28 headers: 28 headers:
29 Cache-Control: 29 Cache-Control:
30 - no-store 30 - no-store
31 Content-Security-Policy: 31 Content-Security-Policy:
32 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 32 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
33 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 33 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
34 style-src ''self'' http://localhost:3000 ''nonce-JFYoEGFcNxAmi3ajs75GQA==''; 34 style-src ''self'' http://localhost:3000 ''nonce-vPHKMNTH4EUVv+FCmotSKg=='';
35 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 35 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
36 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 36 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
37 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 37 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -41,7 +41,7 @@ interactions:
41 Content-Type: 41 Content-Type:
42 - application/json; charset=utf-8 42 - application/json; charset=utf-8
43 ETag: 43 ETag:
44 - W/"5556dbbdb99d3396ff677f1e74290de7" 44 - W/"04f1d8238e37dc9b2d1b2d6a35532a97"
45 Referrer-Policy: 45 Referrer-Policy:
46 - strict-origin-when-cross-origin 46 - strict-origin-when-cross-origin
47 Transfer-Encoding: 47 Transfer-Encoding:
@@ -61,11 +61,11 @@ interactions:
61 X-RateLimit-Remaining: 61 X-RateLimit-Remaining:
62 - '205' 62 - '205'
63 X-RateLimit-Reset: 63 X-RateLimit-Reset:
64 - '2022-11-19T03:00:00.115461Z' 64 - '2022-11-21T21:00:00.228690Z'
65 X-Request-Id: 65 X-Request-Id:
66 - d298c7e4-ee8a-4735-8bba-c81f24ce83c4 66 - d6a2ef7e-b657-449e-92df-dbaa22a03731
67 X-Runtime: 67 X-Runtime:
68 - '0.034050' 68 - '0.032862'
69 X-XSS-Protection: 69 X-XSS-Protection:
70 - 1; mode=block 70 - 1; mode=block
71 status: 71 status:
@@ -87,21 +87,21 @@ interactions:
87 User-Agent: 87 User-Agent:
88 - tests/v311 88 - tests/v311
89 method: DELETE 89 method: DELETE
90 uri: http://localhost:3000/api/v1/statuses/109367698397121351 90 uri: http://localhost:3000/api/v1/statuses/109383671624990776
91 response: 91 response:
92 body: 92 body:
93 string: '{"id":"109367698397121351","created_at":"2022-11-19T00:44:00.094Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 93 string: '{"id":"109383671624990776","created_at":"2022-11-21T20:26:12.208Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
94 warning","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109367698397121351","url":"http://localhost:3000/@mastodonpy_test/109367698397121351","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py 94 warning","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383671624990776","url":"http://localhost:3000/@mastodonpy_test/109383671624990776","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
95 test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 95 test suite","website":null},"account":{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
96 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI 96 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI
97 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","header":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","followers_count":0,"following_count":0,"statuses_count":6,"last_status_at":"2022-11-19","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' 97 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","header":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","followers_count":0,"following_count":0,"statuses_count":9,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
98 headers: 98 headers:
99 Cache-Control: 99 Cache-Control:
100 - no-store 100 - no-store
101 Content-Security-Policy: 101 Content-Security-Policy:
102 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 102 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
103 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 103 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
104 style-src ''self'' http://localhost:3000 ''nonce-CTA/TVja3lnTEBIoGPPDNw==''; 104 style-src ''self'' http://localhost:3000 ''nonce-g90IUYiK3iSnA32qUzTQZw=='';
105 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 105 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
106 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 106 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
107 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 107 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -111,7 +111,7 @@ interactions:
111 Content-Type: 111 Content-Type:
112 - application/json; charset=utf-8 112 - application/json; charset=utf-8
113 ETag: 113 ETag:
114 - W/"a53f774be486fe77d819f9f6817f89e8" 114 - W/"53bd1e231b3cfe2aa9435db83bf729bb"
115 Referrer-Policy: 115 Referrer-Policy:
116 - strict-origin-when-cross-origin 116 - strict-origin-when-cross-origin
117 Transfer-Encoding: 117 Transfer-Encoding:
@@ -127,9 +127,9 @@ interactions:
127 X-Permitted-Cross-Domain-Policies: 127 X-Permitted-Cross-Domain-Policies:
128 - none 128 - none
129 X-Request-Id: 129 X-Request-Id:
130 - 85c1e04d-a8ee-42cf-b8b2-9b4128bc3d5f 130 - d4f07fd1-5216-4f3d-9365-e4172765e5f0
131 X-Runtime: 131 X-Runtime:
132 - '0.026346' 132 - '0.027444'
133 X-XSS-Protection: 133 X-XSS-Protection:
134 - 1; mode=block 134 - 1; mode=block
135 status: 135 status:
Powered by cgit v1.2.3 (git 2.41.0)